﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using WebSocketSharp;
using WebSocketSharp.Server;

namespace SYSoft.WebSocketHelper
{
    public class DeviceIOChart:WebSocketBehavior
    {
        public DeviceIOChart()
        {
            
        }


        //protected override void OnMessage(MessageEventArgs e)
        //{
        //    //base.OnMessage(e);
        //    if(!e.IsPing)  //不是ping消息
        //    {
        //        Console.WriteLine(ID+"--" + e.Data);
        //        Console.WriteLine(Sessions.Sessions.Count());
        //    }
        //}

        //protected override void OnClose(CloseEventArgs e)
        //{
        //    base.OnClose(e);
        //}

        //protected override void OnOpen()
        //{
        //    base.OnOpen();
        //}

        //protected override void OnError(ErrorEventArgs e)
        //{
        //    base.OnError(e);
        //}


    }
}
